In [8]:
(import-as "calico.widgets" '*)
(import-as "calico.display" 'display)
Out[8]:
(display)
In [9]:
(define gc (GoogleChart "BarChart" '("Year" "Sales" "Expenses") 
             '(("2004"  1000      400)
                   ("2005"  1170      460)
                   ("2006"  660       1120)
                   ("2007"  1030      540))))
(display.display gc)
In [10]:
(define gc (GoogleChart "BarChart" '() 
             '(("2004"  1000      400)
                   ("2005"  1170      460)
                   ("2006"  660       1120)
                   ("2007"  1030      540))))
(display.display gc)
In [12]:
(define gc (GoogleChart "ScatterChart" '() 
             '((1000      400)
                   (1170      460)
                   (660       1120)
                   (1030      540))))
(display.display gc)
In [13]:
(GoogleChart "Histogram" '() '(6 7 8 9 3 2 6))
Out[13]:
In [15]:
(define gc (GoogleChart "AreaChart" '() '(6 7 8 9 3 2 6)))
In [16]:
gc
Out[16]:
In [17]:
(define gc (GoogleChart "ScatterChart" '() '(6 7 8 9 3 2 6)))
In [18]:
gc
Out[18]:
In [20]:
(GoogleChart "PieChart" '() '(("Pie I have eaten" .33) ("Pie I have not yet eaten" .67)))
Out[20]:
In [21]:
(GoogleChart "LineChart" '() '(6 7 8 9 3 2 6))
Out[21]:
In [24]:
(GoogleChart "ColumnChart" '() '(6 7 8 9 3 2 6))
Out[24]:
In [25]:
(GoogleChart "BarChart" '() '[6 7 8 9 3 2 6])
Out[25]: